package com.zmn.oms.common.dio.normal.statistics;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * 类描述: 工程师(批量)统计进行中订单DIO
 *
 * @author: HuangChao
 * @since: 2022/08/15 18:05
 */
@ApiModel("工程师(批量)统计进行中订单DIO")
@Data
@ToString
public class EngineerOrderStatDIO implements Serializable {
    private static final long serialVersionUID = 7873800848226353460L;

    @ApiModelProperty("工程师ID集合")
    @NotEmpty(message = "工程师ID集合不能为空")
    @Size(max = 100, message = "超过最大查询数量")
    private List<Integer> engineerIdList;

    @ApiModelProperty(value = "时间范围",notes = "开始时间 yyyy-MM-dd HH:mm:ss")
    @NotEmpty
    private String startDate;

    @ApiModelProperty(value = "时间范围",notes = "结束时间 yyyy-MM-dd HH:mm:ss")
    @NotEmpty
    private String endDate;
}
